//!
/**
 ***********************************************************************************************************
 * <RBRTTIRegister Implementation>
 ***********************************************************************************************************
 * @file RBRTTIRegister.cpp
 ***********************************************************************************************************/

/***********************************************************************************************************
 * Precompiled Header
 ***********************************************************************************************************/
#include "RBMainPCH.h"

/***********************************************************************************************************
 * Includes
 ***********************************************************************************************************/
#include "RBRTTIRegister.h"

#include "RBStream.h"

#include "RBCamera.h"
#include "RBGeometry.h"
#include "RBIndexData.h"
#include "RBLight.h"
#include "RBMaterial.h"
#include "RBTexture.h"
#include "RBVertexData.h"

/***********************************************************************************************************
 * Defines
 ***********************************************************************************************************/

/***********************************************************************************************************
 * Classes implementation
 ***********************************************************************************************************/

bool RBRTTIRegister::ms_bInit = false;

RBRTTIRegister::RBRTTIRegister()
{
    if (!ms_bInit)
    {
        RegisterRTTIs();
        ms_bInit = true;
    }

}

RBRTTIRegister::~RBRTTIRegister()
{

}

void RBRTTIRegister::RegisterRTTIs()
{
    //RBRegisterStreamClass(RBCamera);
//    RBRegisterStreamClass(RBCuller);
//    RBRegisterStreamClass(RBGeometry);
//    RBRegisterStreamClass(RBIndexData);
//    RBRegisterStreamClass(RBIndexBuffer);
//    RBRegisterStreamClass(RBLight);
//     RBRegisterStreamClass(RBMaterial);
//     RBRegisterStreamClass(RBSceneNode);
//     RBRegisterStreamClass(RBTexture);
//     RBRegisterStreamClass(RBVertexData);
//     RBRegisterStreamClass(RBVertexBuffer);
//     RBRegisterStreamClass(RBVertexDeclaration);
}
